package com.easylinkin.linkappapi.openapi.dto;

import lombok.Data;

/**
 * 企业级大屏-统计图饼图DTO
 * @author tongjie
 */
@Data
public class BigScreenStatisticDTO {

    private String name;

    /**
     * 为了解决表字段中关键字的冲突的问题
     */
    private String name_;

    private Integer countNum;
    /**
     * 所占比率
     */
    private Double rate;

    public BigScreenStatisticDTO() {
    }

    public BigScreenStatisticDTO(String name, Integer countNum, Double rate) {
        this.name = name;
        this.countNum = countNum;
        this.rate = rate;
    }
}
